package com.wfm.entity;
 
import javax.persistence.Column;
import javax.persistence.Entity; 
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractEntity;

/**
 * 流程定义——节点
 */
@Entity 
@Table(  uniqueConstraints = { 
	    @UniqueConstraint(columnNames = {"WFID","VIEW_CODE","NID" }
	     )}
)
public class TB_WFM_DEF_NODE_POSITION  extends AbstractEntity  { 
	private static final long serialVersionUID = 1L;
	@Column(length=32,nullable=false)
	private String WFID; // 流程ID TB_WFM_DEF_WORKFLOW.ID  
	@Column(length=50)
	private String VIEW_CODE; //视图编码
	@Column(length=32,nullable=false)
	private String NID; // 流程ID TB_WFM_DEF_NODE.ID  
	 
	private int X;  
	private int Y;
	
	public String getWFID() {
		return WFID;
	}
	public void setWFID(String wFID) {
		WFID = wFID;
	}
	public String getVIEW_CODE() {
		return VIEW_CODE;
	}
	public void setVIEW_CODE(String vIEW_CODE) {
		VIEW_CODE = vIEW_CODE;
	}
	public String getNID() {
		return NID;
	}
	public void setNID(String nID) {
		NID = nID;
	}
	public int getX() {
		return X;
	}
	public void setX(int x) {
		X = x;
	}
	public int getY() {
		return Y;
	}
	public void setY(int y) {
		Y = y;
	}
	 
}
